package com.zyg;

import java.util.ArrayList;
import java.util.List;

public class boss {
	private static List<car>carList=new ArrayList<car>();
	public void setCarList(List<car>carList){
		boss.carList=carList;
	}
	private String name;
	private String hobby;
	private String companyName;
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getHobby() {
		return hobby;
	}
	public void setHobby(String hobby) {
		this.hobby = hobby;
	}
	public String getCompanyName() {
		return companyName;
	}
	public void setCompanyName(String companyName) {
		this.companyName = companyName;
	}
	public static List<car> getCarList() {
		return carList;
	}

}
